package com.pkk.spring.cloud.service.rpc.response;

import java.io.Serializable;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * 响应类
 *
 * @author peikunkun
 * @version V1.0
 * @date 2021-01-06 14:30
 **/
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class ResponseBody<T> implements Serializable {

  private static final long serialVersionUID = -2031927704164432472L;

  /**
   * 响应header
   */
  private ResponseHeader<String> header;

  /**
   * 响应实体
   */
  private T body;

}
